package com.xucy.springboot.designmodel.creational.abstractfactory;

/**
 * @Author xucy
 * @Date 2019-07-14 16:49
 * @Description
 **/

public class GoSourceFactory implements SourseFactory {

    @Override
    public Book produceBook() {
        return new GoBook();
    }

    @Override
    public Video produceVideo() {
        return new GoVideo();
    }
}
